package com.imooc.o2o.dao;

import com.imooc.o2o.entity.UserProductMap;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserProductMapDao {

    List<UserProductMap> queryUserProductMapList(@Param("userProductCondition") UserProductMap productMap,
                                                 @Param("rowIndex") int rowIndex,
                                                 @Param("pageSize") int pageSize);

    int queryUserProductMapCount(@Param("userProductCondition") UserProductMap userProductMap);

    int insertUserProductMap(UserProductMap userProductMap);

}
